package xin.yangshuai.mybatisgeneratorweb.model;

/**
 * DataCodeInfo
 *
 * @author shuai
 * @date 2021/7/29
 */
public class DataCodeInfo {

    /**
     * host : 127.0.0.1
     * port : 3306
     * userId : root
     * password : root
     * database : mbg
     * tablePrefix :
     * modelPackage : cc.bb.aa.dd.model
     * mapperPackage : cc.bb.aa.dd.dao
     * xmlPackage : mybatis.mapper
     * folder : /mbg-code-folder/
     */

    private String host;
    private String port;
    private String userId;
    private String password;
    private String database;
    private String tablePrefix;
    private String modelPackage;
    private String mapperPackage;
    private String xmlPackage;
    private String folder;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDatabase() {
        return database;
    }

    public void setDatabase(String database) {
        this.database = database;
    }

    public String getTablePrefix() {
        return tablePrefix;
    }

    public void setTablePrefix(String tablePrefix) {
        this.tablePrefix = tablePrefix;
    }

    public String getModelPackage() {
        return modelPackage;
    }

    public void setModelPackage(String modelPackage) {
        this.modelPackage = modelPackage;
    }

    public String getMapperPackage() {
        return mapperPackage;
    }

    public void setMapperPackage(String mapperPackage) {
        this.mapperPackage = mapperPackage;
    }

    public String getXmlPackage() {
        return xmlPackage;
    }

    public void setXmlPackage(String xmlPackage) {
        this.xmlPackage = xmlPackage;
    }

    public String getFolder() {
        return folder;
    }

    public void setFolder(String folder) {
        this.folder = folder;
    }

    @Override
    public String toString() {
        return "DataCodeInfo{" +
                "host='" + host + '\'' +
                ", port='" + port + '\'' +
                ", userId='" + userId + '\'' +
                ", password='" + password + '\'' +
                ", database='" + database + '\'' +
                ", tablePrefix='" + tablePrefix + '\'' +
                ", modelPackage='" + modelPackage + '\'' +
                ", mapperPackage='" + mapperPackage + '\'' +
                ", xmlPackage='" + xmlPackage + '\'' +
                ", folder='" + folder + '\'' +
                '}';
    }
}
